package com.candy.databasedocuments.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 表属性
 */
public class Table implements Serializable {

    /**
     * 表名
     */
    private String tableName;

    /**
     * 表名 备注
     */
    private String tableRemark;

    private List<TableFieldInfo> fields;

    private List<TableKeyInfo> keys;

    public Table() {
    }

    public Table(String tableName, String tableRemark) {
        this.tableName = tableName;
        this.tableRemark = tableRemark;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableRemark() {
        return tableRemark;
    }

    public void setTableRemark(String tableRemark) {
        this.tableRemark = tableRemark;
    }

    public List<TableFieldInfo> getFields() {
        return fields;
    }

    public void setFields(List<TableFieldInfo> fields) {
        this.fields = fields;
    }

    public List<TableKeyInfo> getKeys() {
        return keys;
    }

    public void setKeys(List<TableKeyInfo> keys) {
        this.keys = keys;
    }

}
